// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import api from './utils/api'
import store from './store'

import AntDesignVue from 'ant-design-vue'
import VueWechatTitle from 'vue-wechat-title'
import 'ant-design-vue/dist/antd.css'
import './assets/styles/common.scss'

Vue.use(AntDesignVue)
Vue.use(VueWechatTitle)

Vue.config.productionTip = false

// 将方法挂载到Vue原型上
Vue.prototype.$api = api

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
